import { Component } from '@angular/core';
import { IonicPage, NavController, NavParams } from 'ionic-angular';
import { StatusBar } from '@ionic-native/status-bar';

/**
 * Generated class for the RoleselectPage page.
 *
 * See https://ionicframework.com/docs/components/#navigation for more info on
 * Ionic pages and navigation.
 */

@IonicPage()
@Component({
  selector: 'page-roleselect',
  templateUrl: 'roleselect.html',
})
export class RoleselectPage {

  constructor(public navCtrl: NavController, public navParams: NavParams,private statusBar: StatusBar) {
  }

  ionViewDidLoad() {
    console.log('ionViewDidLoad RoleselectPage');
  }
  gotoLogin(type) {
    this.navCtrl.push("LoginPage", { type: type });
  }
  register(){
    this.navCtrl.push("RegisterPage");
  }

}
